package com.gtt.lazy.service;

import java.util.List;

import com.gtt.lazy.domain.Sofa;

public interface SofaService {

	public int add(Sofa sofa);

	public void delete(int id);

	public Sofa get(int id);

	public void update(Sofa sofa);

	public void updateDiscount(int id, boolean isDiscount);

	public void updateFresh(int id, boolean isFresh);

	public List<Sofa> list();

	public List<Sofa> list(int start, int size);

	List<Sofa> listDiscounted();

	List<Sofa> listDiscounted(int start, int size);

	List<Sofa> listFresh();

	List<Sofa> listFresh(int start, int size);

	int count();

	int countDiscounted();

	int countFresh();
}
